|
![](/i/fill.gif) |
Hi Stephen, you recently wrote in moray.win:
> How do I make sure that an object(Pov_code) is placed at the
> top of a generated pov file?
Well, I can't tell you how to do it in FullMoon, but the Plugin SDK
has events that say where they are in the output process. The SDk
function is PrintEvent() and you get the possibility to write to the
POV file whenever these events occur. The events are:
MRY_NTC_BEGIN_POVEXPORT - the POV scene file for POV-Ray has just been
opened.
MRY_NTC_BEGIN_POLYEXPORT - the PI scene file for Polyray has just been
opened.
MRY_NTC_END_EXPORT - the scene file for the raytracer is about to be
closed.
MRY_NTC_BEGIN_CAMERAS - the cameras are about to be written to the
scene file.
MRY_NTC_END_CAMERAS - the cameras have just been written to the scene
file.
MRY_NTC_BEGIN_LIGHTS - the lights are about to be written to the scene
file.
MRY_NTC_END_LIGHTS - the lights have just been written to the scene
file.
MRY_NTC_BEGIN_TEXTURES - the textures are about to be written to the
scene include file.
MRY_NTC_END_TEXTURES - the cameras have just been written to the scene
include file.
MRY_NTC_BEGIN_REFERENCED_OBJS - the referenced objects are about to be
written to the scene file.
MRY_NTC_END_REFERENCED_OBJS - the referenced objects have just been
written to the scene file.
MRY_NTC_BEGIN_OBJECTS - the objects are about to be written to the
scene file.
MRY_NTC_END_OBJECTS - the objects have just been written to the scene
file.
Hope that helps.
Regards,
- Lutz
email : lut### [at] stmuc com
Web : http://www.stmuc.com/moray
Post a reply to this message
|
![](/i/fill.gif) |